{%extends file="index/page/layout.tpl"%}

{%block name="sub-head-static"%}
    {%require name="index:static/term/term.less"%}
    {%require name="index:static/term/term.js"%}
    <script>
        P.data({%json_encode($data)%});
    </script>
{%/block%}

{%block name="body-content"%}
<div class="index-term">
    <div class="summary">
        <div class="content">
            <h4>什么是真融宝定期</h4>
            <div class="line line3"></div>
            <img src="../static/term/image/product-logo.png" class="product-log">
            <div class="desc">
                <div>真融宝定期是指可“无限额投资”并且会“锁定一定期限”的一系列理财产品。</div>
                <div>真融宝定期家族共有三个产品，锁定期分别为一月、三月、六月，收益分别为9%、10%、12%。</div>
            </div>

            <div class="statistic">
                <div class="block">
                    <i class="i1"></i>
                    <span class="value">{%$data.total.user_count%}</span>
                    <span class="name">投资人数</span>
                </div>
                <div class="block">
                    <i class="i2"></i>
                    <span class="value">{%$data.total.plat_total_buy|format_amount%}</span>
                    <span class="name">投资额度</span>
                </div>
                <div class="block">
                    <i class="i3"></i>
                    <span  class="value">{%$data.total.credit_assemble_total%}</span>
                    <span class="name">债权数量</span>
                </div>
                <div class="block">
                    <i class="i4"></i>
                    <span class="value">{%$data.total.credit_plat_total%}</span>
                    <span class="name">平台数量</span>
                </div>
                <div class="clear"></div>
            </div>

        </div>
    </div>

    <div class="products">
        <div class="content">
            <div class="product term-block term1">
                <div class="term-content">
                    <div class="product-type">
                        <div class="profit-rate">
                            <span>9</span><span class="symbol">%</span>
                        </div>
                        <div class="name">一月期</div>
                    </div>
                    <div class="credit-container">
                        <div class="desc">可购份额</div>
                        <div class="credit"></div>
                        <div class="btn-container">
                            {%if $data.term1_usable_amount>=1%}
                                <a class="btn btn-large btn-main" href="/user/buyterm?pid=2">购买</a>
                            {%else%}
                                <a class="btn btn-large btn-disable">已售完</a>
                            {%/if%}
                        </div>
                    </div>
                </div>
            </div>
            <div class="product term-block term3" style="margin:0 50px;">
                <div class="term-content">
                    <div class="product-type">
                        <div class="profit-rate">
                            <span>10</span><span class="symbol">%</span>
                        </div>
                        <div class="name">三月期</div>
                    </div>
                    <div class="credit-container">
                        <div class="desc">可购份额</div>
                        <div class="credit"></div>
                        <div class="btn-container">
                            {%if $data.term3_usable_amount>=1%}
                                <a class="btn btn-large btn-main" href="/user/buyterm?pid=23">购买</a>
                            {%else%}
                                <a class="btn btn-large btn-disable">已售完</a>
                            {%/if%}
                        </div>
                    </div>
                </div>
            </div>
            <div class="product term-block term6">
                <div class="term-content">
                    <div class="product-type">
                        <div class="profit-rate">
                            <span>12</span><span class="symbol">%</span>
                        </div>
                        <div class="name">六月期</div>
                    </div>
                    <div class="credit-container">
                        <div class="desc">可购份额</div>
                        <div class="credit"></div>
                        <div class="btn-container">
                            {%if $data.term6_usable_amount>=1%}
                                <a class="btn btn-large btn-main" href="/user/buyterm?pid=26">购买</a>
                            {%else%}
                                <a class="btn btn-large btn-disable">已售完</a>
                            {%/if%}
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>

    <div class="questions">
        <div class="content">
            <h4>常见问题</h4>
            <div class="question">
                <div class="ask">1.真融宝定期是保本保息吗？</div>
                <div class='answer'>是的。</div>
            </div>
            <div class="question">
                <div class="ask">2.真融宝定期如何计算收益？</div>
                <div class='answer'>以12%的六月期定期举例，2014年12月24日购买10000份额，2015年6月23日，收回本金10000元，及利息591.78元（＝10000＊12%＊180/365）。</div>
            </div>
            <div class="question">
                <div class="ask">3.真融宝定期可以自动复投吗？</div>
                <div class='answer'>购买真融宝定期后可以在锁定期内随时修改到期后本息复投、本金复投或自动赎回到我的钱包，系统默认为本息复投。</div>
            </div>
            <div class="question">
                <div class="ask">4.真融宝定期包含哪些债权组合？</div>
                <div class='answer'>真融宝定期所购买的债权每天都会重新组合，点击<a target="_blank" href="/index/assemble?pid=2">《真融宝定期今日债权组合》</a>了解今日债权组合详情。</div>
            </div>
            <div style="text-align: center;padding:20px ">
                <a class="btn-more" href="/about/faq">查看更多</a>
            </div>
        </div>
    </div>
</div>
{%/block%}